#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QPushButton>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
//    QHBoxLayout* layout = new QHBoxLayout;
//    ui->centralwidget->setLayout(layout);

//    this->setCentralWidget(ui->centralwidget);
    pageSwitchContainer = new BPageSwitchContainer(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}

